package com.yf.anno;

public class MyAnno {

    @Deprecated//标记方法过时
    private int age;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString(){
        return super.toString();
    }

}
